﻿using System.Configuration;

namespace SaJiraSync.Config.Jira
{
    public sealed class FieldsElement : ConfigurationElement
    {
        [ConfigurationProperty("exceptionTypeField", IsRequired = true)]
        public FieldElement ExceptionTypeField
        {
            get
            {
                return (FieldElement)this["exceptionTypeField"];
            }
        }

        [ConfigurationProperty("methodTypeField", IsRequired = true)]
        public FieldElement MethodTypeField
        {
            get
            {
                return (FieldElement)this["methodTypeField"];
            }
        }

        [ConfigurationProperty("methodField", IsRequired = true)]
        public FieldElement MethodField
        {
            get
            {
                return (FieldElement)this["methodField"];
            }
        }

        [ConfigurationProperty("exceptionReportHashField", IsRequired = true)]
        public FieldElement ExceptionReportHashField
        {
            get
            {
                return (FieldElement)this["exceptionReportHashField"];
            }
        }

        [ConfigurationProperty("earliestBuildSeenField", IsRequired = true)]
        public FieldElement EarliestBuildSeenField
        {
            get
            {
                return (FieldElement)this["earliestBuildSeenField"];
            }
        }

        [ConfigurationProperty("latestBuildSeenField", IsRequired = true)]
        public FieldElement LatestBuildSeenField
        {
            get
            {
                return (FieldElement)this["latestBuildSeenField"];
            }
        }

        [ConfigurationProperty("buildFixedOnField", IsRequired = true)]
        public FieldElement BuildFixedOnField
        {
            get
            {
                return (FieldElement)this["buildFixedOnField"];
            }
        }

        [ConfigurationProperty("automaticEmailField", IsRequired = true)]
        public FieldElement AutomaticEmailField
        {
            get
            {
                return (FieldElement)this["automaticEmailField"];
            }
        }

        [ConfigurationProperty("reportCountField", IsRequired = true)]
        public FieldElement ReportCountField
        {
            get
            {
                return (FieldElement)this["reportCountField"];
            }
        }
    }
}
